API Documentation
ExportError.h
1 // ExportError.h
3 //
5 
6 namespace nkExport
7 {
11  class ExportError final
12  {
13  public :
14 
26  ExportError (const nkMemory::StringView& errorDesc, const nkMemory::StringView& errorInfos, unsigned int index) ;
31 
32  // Setters
38  void setErrorDesc (const nkMemory::StringView& desc) ;
43  void setErrorInfo (const nkMemory::StringView& infos) ;
49  void setIndex (unsigned int index) ;
55  void setActivated (bool value) ;
56 
57  // Getters
69  unsigned int getIndex () const ;
73  bool isActivated () const ;
74  } ;
75 }
nkExport::ExportError::getErrorDesc
const nkMemory::StringView & getErrorDesc() const
nkExport::ExportError::getErrorInfo
const nkMemory::StringView & getErrorInfo() const
nkExport::ExportError::ExportError
ExportError()
nkExport
Encompasses all API of component NilkinsExport.
Definition: Base64Encoder.h:7
nkExport::ExportError
Holds information about a failure when trying to import an object using an Exporter.
Definition: ExportError.h:12
nkExport::ExportError::isActivated
bool isActivated() const
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkExport::ExportError::setErrorInfo
void setErrorInfo(const nkMemory::StringView &infos)
nkExport::ExportError::ExportError
ExportError(const nkMemory::StringView &errorDesc, const nkMemory::StringView &errorInfos, unsigned int index)
nkExport::ExportError::~ExportError
~ExportError()
nkExport::ExportError::getIndex
unsigned int getIndex() const
nkExport::ExportError::setErrorDesc
void setErrorDesc(const nkMemory::StringView &desc)
nkExport::ExportError::setActivated
void setActivated(bool value)
nkExport::ExportError::setIndex
void setIndex(unsigned int index)